package com.ss.android.messagebus;

public final class MessageType {
    public String tag;
    private Class paramClass;

    public MessageType(Class arg2, String arg3) {
        this.tag = "default_tag";
        this.paramClass = arg2;
        this.tag = arg3;
    }

    public final boolean equals(Object arg5) {
        boolean v0 = true;
        if(this != (((MessageType)arg5))) {
            if(arg5 == null) {
                v0 = false;
            }
            else if(this.getClass() != arg5.getClass()) {
                v0 = false;
            }
            else {
                if(this.paramClass == null) {
                    if(((MessageType)arg5).paramClass != null) {
                        return false;
                    }
                }
                else if(!this.paramClass.equals(((MessageType)arg5).paramClass)) {
                    return false;
                }

                if(this.tag == null) {
                    if(((MessageType)arg5).tag == null) {
                        return v0;
                    }

                    return false;
                }

                if(this.tag.equals(((MessageType)arg5).tag)) {
                    return v0;
                }

                v0 = false;
            }
        }

        return v0;
    }

    public final int hashCode() {
        int v1 = 0;
        int v0 = this.paramClass == null ? 0 : this.paramClass.hashCode();
        v0 = (v0 + 31) * 31;
        if(this.tag != null) {
            v1 = this.tag.hashCode();
        }

        return v0 + v1;
    }

    public final String toString() {
        return "MessageType [paramClass=" + this.paramClass.getName() + ", tag=" + this.tag + "]";
    }
}

